.rotate-div {
    -webkit-transition: all 0.1s;
    -moz-transition: all 0.1s;
    -o-transition: all 0.1s;
    -ms-transition: all 0.1s;
    transition: all 0.1s;
}

body {
    color: #FFF;
    margin: 0;
    padding: 0;
}

h1 {
    font-family: "olivita", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 36pt;
}

h2 {
    font-family: "olivita", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 36pt;
}

p{
    font-family: "filson-soft", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14pt;
}

#wrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#sidebar {
    display: flex;
    flex-direction: column;
    width: 425px;
    height: 100vh;
    background-color: #000;
    margin: 0;
    padding: 0;
    position: -webkit-sticky;
    position: sticky;
    top:0;

    z-index: 11;
}

#logo-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    background-color: #000;
}

.logo{
    width: 300px;
    height: auto;
    margin: 0 auto;
}

#tagline-container{
    position: relative;
    text-align: center;
    padding: 10px;
}

#contact-container {
    width: 100%;
    text-align: center;
}

.tagline{
    position: sticky;
    top: 0;
}

.tagline-body{
    color: #db2590;
}

.contact-row{
    display: flex;
    background-color: #D82A92;
    border-radius: 20px;
    width: fit-content;
    margin: 20px auto;
    padding: 5px 10px;
    height: 30px;
}

.contact-row p{
    margin: 0 auto;
}

.contact-icon {
    display: flex;
    width: 24px;
    margin-right: 5px;
}

.contact {
    display: flex;
    margin: 0;
}

#footer {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

#footer p{
    font-size: 10pt;
}

#main-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #000000;
    width: calc(100% - 250px);
    min-height: 100vh;
}

#body-header{
    display: none;
    background-color: #db2590;
    width: 100%;
    height: 100px;
}

#tile-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.tile {
    position: relative;
    display: inline-block;
    width: 450px;
    height: 550px;
    background-color: #db2590;
    margin: 15px;
}

.mobile-tile{
    display: none;
}

.clear-tile {
    background-color: #000 !important;
}

.tile:before,
.tile:after {
    content: '';
    display: block;
    background-color: #db2590;
    width: 8px;
    height: 8px;
    position: absolute;
    transition: all .15s ease;
}

.tile:before {
    top: 0;
    right: 0;
    transform-origin: top right;
    transform: rotate(45deg) scale(0);
}

.tile:after {
    top: calc(100% - 8px);
    left: 0;
    transform-origin: bottom left;
    transform: rotate(-45deg) scale(0);
}

.tile:hover .tile-hero {
    transform: translate(-6px, -6px);
}

.tile:hover .tile-mask{
    transform: translate(-6px, -6px);
}
  
.tile:hover:before {
    transform: rotate(45deg) scale(1);
}
  
.tile:hover:after {
    transform: rotate(-45deg) scale(1);
}

.tile:hover a{
    color: #db2590;
}

.tile:hover a .hover-title{
    color: #FFFFFF;
}

.tile-mask {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.tile-title{
    text-align: right;
    margin: 0;
}

.hover-title{
    background-color: #db2590;
    border-radius: 40px 0 0 40px;
    padding: 14px 35px 8px 30px;
    margin-top: calc(100% - 26px);
    position: absolute;
    color: #FFFFFF;
    line-height: 30pt;
    left: 100%;
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    -o-transition: all 0.15s ease-out;
    -ms-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}

.tile-hover-title {
    width: 100%;
    height: 100%;
    text-align: right;
    opacity: 1;
    position: absolute;
    z-index: 5;
    word-wrap: break-word;
    overflow: hidden;
}

.tile:hover .tile-hover-title .hover-title{
    opacity: 1;
    transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
}

.text-tile{
    padding: 25px;
}

.tile-hero{
    background-color: #090909;
    width: 450px;
    height: 550px;
    display: block;
    transform: translate(0, 0);
    transition: all .15s ease;
    position: relative;
    z-index: 3;
}

#mobile-footer{
    display: none;
    width: 100%;
    text-align: center;
}

#mobile-footer p{
    font-size: 10pt;
}

.popout-pic{
    display: flex;
    flex-direction: row;
    width: 550px;
    height: 650px;
    margin: 10px;
}

.popout-pic-wide{
    display: flex;
    flex-direction: row;
    width: 750px;
    height: auto;
    margin: 10px;
}

.popout-copy{
    text-align: center;
    max-width: 35%;
    background-color: #000;
    height: fit-content;
    padding: 25px;
}

@media all and (max-width: 760px) {

    h1{
        font-size: 28pt;
    }

    #wrapper{
        flex-direction: column;
    }
  
    #sidebar, #main-body {
      width:100%;
    }
  
    #sidebar {
      height: inherit;
      position: sticky;
      order: -1;
    }

    #tagline-container{
        display: none;
    }

    .tile{
        max-width: 90vw;
        height: auto;
    }

    .mobile-tile{
        display: block;
        text-align: center;
    }

    .tile-hover-title .hover-title{
        opacity: 1;
        transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
        text-align: center;
        padding-right: 10px;
    }

    .tile-hero{
        width: 90vw;
        height: auto;
    }

    #footer{
        display: none;
    }

    #mobile-footer{
        display: block;
    }

    .mfp-content {
        flex-direction: column;
    }

    .popout-pic {
        max-width: 90vw;
        height: auto;
        align-self: start;
    }

    .popout-pic-wide {
        max-width: 90vw;
        height: auto;
        align-self: start;
    }

    .popout-copy{
        max-width: 95%;
    }
  }